package com.sportizz.sport;

import android.content.Context;
import android.content.Intent;

public final class CommonUtilities {

	// give your server registration url here
	public static final String SERVER_URL = "http://sportizza.com/gcm_server_php/register.php";

	// Google project id
	public static final String SENDER_ID = "866119624334";

	public static final String DISPLAY_MESSAGE_ACTION = "com.example.sport.DISPLAY_MESSAGE";

	public static final String EXTRA_MESSAGE = "message";

	static void displayMessage(Context context, String message) {
		Intent intent = new Intent(DISPLAY_MESSAGE_ACTION);
		intent.putExtra(EXTRA_MESSAGE, message);
		context.sendBroadcast(intent);
	}
}
